package com.lin.missyou;

import com.lin.missyou.sample.EnableLoLConfiguration;
import com.lin.missyou.sample.HeroConfiguration;
import com.lin.missyou.sample.ISkill;
import com.lin.missyou.sample.LOLConfigurationSelector;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * @author gcq
 * @Create 2021-10-03
 */
//@EnableLoLConfiguration
public class LOLApplication {
//    public static void main(String[] args) {
//        ConfigurableApplicationContext content =
//                new SpringApplicationBuilder(LOLApplication.class)
//                        .web(WebApplicationType.NONE)
//                        .run(args);
//        ISkill iSkill = (ISkill) content.getBean("irelia");
//        iSkill.r();
//    }
}